package RNG；

import java.util.Scanner;

public class SSW {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int a;
		System.out.println("请输入年份：");
		a = scan.nextInt();
		if(a>999 & a<10000 & a%4==0 & a%400==0 & a%100==0) {			
					System.out.println("是闰年");			
		}
		else {
			System.out.println("不是闰年");
		}
	}
	}